package cn.hs.entity;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 
 * @TableName coursereply
 */
@Data
public class CourseReply implements Serializable {
    /**
     * 交流回复表id
     */
    private Integer id;

    /**
     * 回复交流的信息
     */
    private String replyText;

    /**
     * 回复交流的时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date createTime;

    /**
     * 课程交流id(外键)
     */
    private Integer talkId;

    /**
     * 回复交流的用户id(外键)
     */
    private Integer userId;

    private String userName;
}